package com.atlzk.renting.user.service;

import com.atlzk.common.entity.user.UserEntity;
import com.atlzk.common.utils.R;
import com.atlzk.common.utils.PageUtils;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 
 *
 * @author liuzekun
 * @email 2803587841@gmail.com
 * @date 2021-07-16 20:01:15
 */
public interface UserService extends IService <UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R login(UserEntity userEntity);

    R sendCode(String telephoneOrEmail);

    R register(UserEntity userEntity);

    R loginCode(String telephoneOrEmail, String code);

    R findOne(String userNum);
}

